



import { observable,action , computed  } from 'mobx';
class User{
    @observable userInfo = null; 

    @action changeUserInfo = payload=>{
        this.userInfo = payload; 
    }

    @action setUserInfo= payload =>{
        this.userInfo = {...this.userInfo,...payload} 
    }
}

export default new User()